﻿using Fantasy;
using Fantasy.Async;
using Fantasy.Network;
using Fantasy.Network.Interface;
using Fantasy.Platform.Net;

namespace Entity.Handler.CustomRouteHandler;

// /// <summary>
// /// 客户端发送消息给chat服务器
// /// </summary>
public class C2Chat_WxyHelloMsgHandler : Route<ChatEntity, C2Chat_WxyHelloMsg>
{
    protected override async FTask Run(ChatEntity entity, C2Chat_WxyHelloMsg message)
    {
        Log.Debug($"ChatEntity Name:{entity.Name}");
        Log.Debug($"C2Chat_WxyHelloMsg Msg:{message.msg}");
        await FTask.CompletedTask;
    }
}